abstract class Equipamento{
  int def;
  
  float weight;
  
  int slot;

  Equipamento(int x){
    slot = x;
  }

  int getDefense(){return def;}

  float getWeight(){return weight;}

  int getSlot(){return slot;}
  
}
class Head extends Equipamento{Head(){super(head);}}
class Armor extends Equipamento{Armor(){super(armor);}}

class Weapon extends Equipamento{
  int atk, wClass;
  boolean twoHanded;
  Weapon(int atk, int def, int wClass, float weight, boolean twoHanded){
    super(weapon);
    this.atk = atk;
    this.def = def;
    this.wClass = wClass;
    this.twoHanded = twoHanded;
    this.weight = weight;
  }
  public int getAtk(){return atk;}
  public int getWClass(){return wClass;}
  public boolean getTwoHanded(){return twoHanded;}
}

class Shield extends Equipamento{
  Shield(int def, float weight){
    super(shield);
    this.def = def;
    this.weight = weight;
  }
}
class Legs extends Equipamento{Legs(){super(legs);}}
class Feet extends Equipamento{Feet(){super(feet);}}
